<template>
  <div>
    <h2 class="title">{{message}}</h2>
    <button @click="btnClck">按钮</button>
    <h2>{{name}}</h2>
    <Cpn></Cpn>
  </div>
</template>

<script>
import Cpn from './Cpn'
export default {
  name: 'App',
  components: {
    Cpn
  },
  data() {
    return {
      message: 'hello,Webpack',
      name: 'cyj'
    }
  },
  methods: {
    btnClick() {

    }
  },

}
</script>

<style scoped>
.title {
  color: green;
  font-size: 88px;
}
</style>